package com.baosight.demo.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/demo")
public class EasyController {
    /**
     * 日志信息
     */
    private final Log logger = LogFactory.getLog(this.getClass());

    @GetMapping("/hello")
    public String hello(){
        return "xxx hello";
    }
}
